import styled from 'styled-components'
export const PlaylistWrapper = styled.div`
  border-left:1px solid #ccc;
  border-right:1px solid #ccc;
  padding:40px;
  .pagination{
    margin-top:50px;
    text-align:center;
    .ant-pagination-item-active a {
      color: #fff;
      background-color:rgb(181,41,30);
    }
    .ant-pagination-item-active {
      border-color: #fff;
    }
  }
`
export const NavWrapper = styled.div`
  border-bottom:2px solid #C20C0C;
  padding-bottom:5px;
  display:flex;
  .cat{
    font-size:24px;
    color:#333;
  }
  .choose{
    color: rgb(64,122,192);
    border:1px solid #ccc;
    text-align:center;
    height:30px;
    line-height:30px;
    display: flex;
    align-items: center;
    padding:0 20px;
    border-radius:2px;
    margin-left:20px;
    margin-top:3px;
    cursor:pointer;

  }
  .hot{
    color:#fff;
    background-color:rgb(181,41,30);
    text-align:center;
    border-radius:3px;
    height:30px;
    width: 46px;
    line-height:30px;
    margin-top:3px;
    margin-left:680px;
    cursor:pointer;
  }
`
export const ContentWrapper = styled.div`
  display: flex;
  justify-content:space-between;
  flex-wrap:wrap;
  .item{
    width:160px;
    height:160px;
    margin-top:50px;
    position:relative;
    cursor:pointer;

    .mask{
      position:absolute;
      background-position:0 0;
      width: 140px;
      height:140px;
    }
    .desc{
      position: absolute;
      bottom: 20px;
      left: 0;
      width: 140px;
      height: 27px;
      line-height:27px;
      color: #ccc;
      background: rgba(100,100,100,.7);
      display:flex;
      .erji {
          margin-left: 10px;
          display: flex;
          align-items:center;
          width: 14px;
          height: 11px;
          background-position: 0 -24px;
          margin-top:8px;
        }
        .count{
          margin-top:2px;
          margin-left:5px;
        }
        .play {
          display: flex;
          align-items:center;
          width: 16px;
          height: 17px;
          background-position: 0 0;
          margin-left:55px;
          margin-top:5px;
        }
    }
    .name{
      font-size:14px;
      padding:5px 0;
    }
    .creator{
      color:#666;
      display: flex;
      .icon{
        width: 13px;
        height:13px;
      }
    }
  }
`